include(../../../common.pri)

QT       += widgets quick

TARGET = emptygadget
TEMPLATE = lib
DLLDESTDIR = $$PLUGINS_PATH

DEFINES += EMPTYGADGET_LIBRARY

SOURCES += emptyplugin.cpp \
    emptyfactory.cpp \
    emptywidget.cpp \
    emptygadget.cpp

HEADERS += emptyplugin.h \
    emptyfactory.h \
    emptywidget.h \
    emptygadget.h

win32:CONFIG(release, debug|release): LIBS += -L$$LIBS_PATH -lpluginextension
else:win32:CONFIG(debug, debug|release): LIBS += -L$$LIBS_PATH -lpluginextension
else:unix: LIBS += -L$$LIBS_PATH -lpluginextension

INCLUDEPATH += $$PWD/../../libs/pluginextension
DEPENDPATH += $$PWD/../../libs/pluginextension

OTHER_FILES += \
    EmptyGadget.json

FORMS += \
    emptywidget.ui
